home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / HARDWARE / IICALARM / !iicAlarm / !AlarmBoot next >
Text File  |  1994-05-19  |  1KB  |  23 lines

  1. | !Run File for !AlarmBoot
  2. | Initializes the switching system and checks for automatic startup.
  3. | Be sure to set <Alarmfile> to Path and Name of your !Alarm-Datafile.
  4.  
  5. RMEnsure UtilityModule 3.00 ERROR **** !iicAlarm **** needs RiscOS 3.xx to run.
  6. If "<AlarmExt$Dir>" = "" THEN ERROR **** !AlarmBoot **** needs !iicAlarm to be initialised !
  7. IF "<AlarmMode>" <> "" THEN ERROR **** !AlarmBoot **** is only to be run once in the startup-sequence !
  8. IF "<Alarmfile>" = "" THEN ERROR **** !AlarmBoot **** cannot find the variable 'Alarmfile' !!
  9.  
  10. | Special commands for use within your scipts:
  11. Set Alias$Bye       Run <AlarmExt$Dir>.Tools.!AlarmShut
  12.  
  13. Set Alias$AlarmOff  RUN <AlarmExt$Dir>.Tools.!AlarmOff
  14. Set Alias$AlarmOn   RUN <AlarmExt$Dir>.Tools.!AlarmOn
  15. Set Alias$AlarmQuit RUN <AlarmExt$Dir>.Tools.!AlarmQuit
  16. Set Alias$AlarmShut Run <AlarmExt$Dir>.Tools.!AlarmShut
  17.  
  18. | Test Alarm-condition
  19. Run <AlarmExt$Dir>.ABoot
  20. | Set new alarm and reset alarm-line.
  21. Run <AlarmExt$Dir>.AlarmSet
  22. | Load Module to capture <SCF12> Shutdown-key.
  23. RMEnsure HotKeyScanner 0.50 *RMload <AlarmExt$Dir>.KeyScan